import { LcDocument } from '@/types/modules/editor/types/editor.type';

/**
 * 过滤文档不符合Diff的字段
 */
export function filterDocument(doc: LcDocument) {
  const { update_time, lastUpdateBy, ...rest } = doc;
  return rest;
}
